.category-container {
  background-color: var(--bg-color);
}

.adm-nav-bar {
  background-color: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.category-tabs {
  position: sticky;
  top: 45px;
  z-index: 90;
  background-color: var(--card-bg);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.category-products {
  padding: 15px 10px;
}

.category-product-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.loading-text {
  margin-top: 10px;
  color: var(--text-color);
}

/* 复用首页的一些样式 */
.product-info {
  padding: 8px;
}

.product-name {
  font-size: 14px;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-color);
}

.product-price {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.price {
  color: #ff4d4f;
  font-size: 16px;
  font-weight: 600;
  margin-right: 5px;
}

.original-price {
  color: rgba(153, 153, 153, 0.8);
  font-size: 12px;
  text-decoration: line-through;
}

.product-sales {
  font-size: 12px;
  color: rgba(153, 153, 153, 0.8);
}